package com.act262.vote.ui;

public class Test {

	public static void main(String[] args) {

		String regex = "^(\\d{1,2})([,]\\d{1,2})?";

		if ("22".matches(regex)) {
			System.out.println("ok");
		} else {
			System.out.println("not ok");
		}
	}

}
